









<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>memos2 - Frequently Asked Questions</title>
    <link rel="stylesheet" href="./css/maven-theme.css" type="text/css" />
    <link rel="stylesheet" href="./css/maven-base.css" type="text/css"/>
    <link rel="stylesheet" href="./css/prettify.css" type="text/css"/>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
    <script type="text/javascript" src="./js/prettify.js"></script>
    <script type="text/javascript" src="./js/niftycube.js"></script>
    <script type="text/javascript">
        window.onload=function() {
            Nifty("div\#wrapper", "big");
            Nifty("div#breadcrumbs", "small");
            Nifty("div\#navcolumn", "small");
            Nifty("div.source", "medium");
            prettyPrint();
        }
    </script>
          </head>
  <body>
    <div id="wrapper">
        <div id="banner">
                        <div id="bannerLeft">
    
                                            <img src="images/logo.png" alt="memos2" />
    
            </div>
                            <div class="clear">
            <hr/>
          </div>
        </div>
        <div id="breadcrumbs">
              
  

  
    
            
  
    
            <div class="xleft">
        <span id="publishDate">Last Published: 2009-12-16</span>
                  &nbsp;| <span id="projectVersion">Version: 1.0</span>
                      </div>
                <div class="xright">      
  

  
    
            
  
    
  </div>
          <div class="clear">
            <hr/>
          </div>
        </div>
        <div id="leftColumn">
          <div id="navcolumn">
               
  

  
    
            
  
    
                       <h5>memOS2</h5>
            <ul>
              
    <li class="none">
                    <a href="index.html">Introduction</a>
          </li>
              
    <li class="none">
                    <a href="user-guide.html">User's Guide</a>
          </li>
              
    <li class="none">
              <strong>FAQ</strong>
        </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
                    
                  
                  
                  
                  
                  
                  
                  
                  
                  
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
              
                
                    
                  
                  
                  
                  
                  
                  
                  
                  
              
        <li class="collapsed">
                    <a href="project-reports.html">Project Reports</a>
                </li>
          </ul>
              <h5>External Links</h5>
            <ul>
              
    <li class="none">
                    <a href="http://code.google.com/p/memos2/" class="externalLink">Project Page</a>
          </li>
              
    <li class="none">
                    <a href="http://code.google.com/p/memos2/downloads/list" class="externalLink">Downloads</a>
          </li>
              
    <li class="none">
                    <a href="http://fabrizio.zellini.org/oscache-memcached-memos" class="externalLink">memOS</a>
          </li>
              
    <li class="none">
                    <a href="http://www.opensymphony.com/oscache/" class="externalLink">OSCache</a>
          </li>
              
    <li class="none">
                    <a href="http://www.danga.com/memcached/" class="externalLink">Memcached</a>
          </li>
              
    <li class="none">
                    <a href="http://code.google.com/p/spymemcached/" class="externalLink">Spy Memcached</a>
          </li>
          </ul>
                                               <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img class="poweredBy"
                 alt="Built by Maven"
                 src="./images/logos/maven-feather.png"
                 width="90"
                 height="30"
                 border="1" />
          </a>
                           
  

  
    
            
  
    
            </div>
        </div>
        <div id="bodyColumn">
          <div id="contentBox">
            <div class="section"><h2><a name="top">Frequently Asked Questions</a></h2>
<ol type="1"><li><a href="#why-memcached-read-not-performed">Debugging locally, reading logs I noticed OScache writes
            correctly entities to Memcached, but when reading Memcached is
            ignored... is there any reason why?</a></li>
</ol>
</div>
<dl><dt><a name="why-memcached-read-not-performed">Debugging locally, reading logs I noticed OScache writes
            correctly entities to Memcached, but when reading Memcached is
            ignored... is there any reason why?</a></dt>
<dd>
                <p>First of all you have to know that OSCache, when retrieving
                cached elements, checks first his memory cache, then invokes
                <code>PersistenceListener</code> read operations to look for
                them; to skip the first level of cache, make sure you turned off
                the memory cache in the <code>oscache.properties</code><br></br>
                Using memcached is strongly recommended when scalability
                is your primary goal, in that way multiple OSCache can be
                synchronized without spreading data through the net.</p>
            <table border="0"><tr><td align="right"><a href="#top">[top]</a></td></tr></table></dd>
</dl>

          </div>
        </div>
        <div class="clear">
          <hr/>
        </div>
        <div id="footer">
          <div class="xright">Copyright &#169;         
   
          2009.
    
      All Rights Reserved.    
  

  
    
            
  
    
  </div>
          <div class="clear">
            <hr/>
          </div>
        </div>
    </div>
  </body>
</html>
